package com.cy.train.business.feign;

import com.cy.train.common.req.MemberTicketReq;
import com.cy.train.common.resp.CommonResp;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @Description:
 * @Date: 2024/3/6 20:17
 * @Author: cyzhang
 */
@FeignClient("member")
//@FeignClient(name = "member", url = "http://127.0.0.1:8001")
public interface MemberFeign {
    @GetMapping("/member/feign/ticket/save")
    CommonResp<Object> save(@RequestBody MemberTicketReq req);
}
